package com.zxd.threads.thread_safe;

/**
 * ClassName:Test
 * Package:com.zxd.threads.thread_safe
 *
 * @Date:2023/9/26 14:25
 * @Author:zxde
 */
public class Test {
    public static void main(String[] args) {
        Account account = new Account(1000);
        new Thread(new RunnableTask(account),"小明").start();
        new Thread(new RunnableTask(account),"小红").start();

    }
}
